package CTRLayer;

import java.util.ArrayList;
import DBLayer.DBTrainer;
import ModelLayer.Trainer;

public class TrainerCTR
{
	public ArrayList<Trainer> findAllTrainers()
    {
		DBTrainer dbTrainer = new DBTrainer();
        ArrayList<Trainer> allTrainers = new ArrayList<Trainer>();
        allTrainers = dbTrainer.getAllTrainers(false);
        return allTrainers;
    }
	
	public Trainer findTrainerID(int TrainerID)
	{
		DBTrainer dbTrainer = new DBTrainer();
		return dbTrainer.searchTrainerID(TrainerID, true);
	}
}